package com.springcloud.eshop.product.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Desc:
 * @Date: 2020-06-29
 * @Version:v1.0
 */
@RestController
public class HelloController {

    @RequestMapping("/hello")
    @ResponseBody
    public String sayHello(String name) {
        return "hello world";
    }
}
